﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Master/Site.master" ValidateRequest="false" AutoEventWireup="false" CodeFile="Contactus.aspx.vb" Inherits="contactus" %>

<%@ Register src="Controls/Recaptcha.ascx" tagname="Recaptcha" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <h2>
        Contact Us
    </h2>
<asp:Panel ID="ContactUsPanel" runat="server" DefaultButton="SendBtn"  GroupingText="Contact Us">
    <asp:Label ID="Label1" runat="server" Text="Your Name (required):"></asp:Label>
    <br />
    <asp:TextBox ID="NameTxtBox" runat="server" Width="429px"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
        ControlToValidate="NameTxtBox" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
    <br />
    <asp:Label ID="Label2" runat="server" Text="Your Email Address (required):"></asp:Label>
    <br />
    <asp:TextBox ID="EmailTxtBox" runat="server" Width="429px"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
        ControlToValidate="EmailTxtBox" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
        ControlToValidate="EmailTxtBox" ErrorMessage="*Invalid E-mail address" 
        ForeColor="Red" 
        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
    <br />
    <asp:Label ID="Label3" runat="server" Text="What is it about? (required):"></asp:Label>
    <br />
    <asp:TextBox ID="SubjectTxtBox" runat="server" Width="429px"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
        ControlToValidate="SubjectTxtBox" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
    <br />
    <asp:Label ID="Label4" runat="server" 
        Text="What do you want to say? (required)"></asp:Label>
    <br />
    <asp:TextBox ID="QuestionTxtBox" runat="server" Rows="10" TextMode="MultiLine" 
        Width="681px"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
        ControlToValidate="QuestionTxtBox" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
    <br />
    &nbsp;<asp:Button ID="SendBtn" runat="server" Text="Send" />
    <asp:Button ID="CancelBtn" runat="server" CausesValidation="False" 
        Text="Cancel" />
    <br />
    <asp:Label ID="MessageLbl" runat="server"></asp:Label>
    <br />
    <asp:Label ID="lblResult" runat="server" Text=""></asp:Label>
    <uc1:Recaptcha ID="Recaptcha1" runat="server" />

</asp:Panel>

    <br />
</asp:Content>

